package com.lzh.service;

import com.lzh.webSocket.domain.vo.req.WSReqUrlType;
import io.netty.channel.Channel;

public interface WebSocketService {
    void handleLoginReq(Channel channel, WSReqUrlType data);

    /**
     * 通知前端第三方登录成功 包括github gitee 微信扫码 qq等
     * @param loginCode  验证码
     * @param uuid 用户id
     * @return
     */
    Boolean loginSuccess(Integer loginCode,Long uuid);


    void testApplicationEventPublisher();

    void connect(Channel channel);

    void authorize(Channel channel, String token);
}
